package com.fulong.service.impl;

import com.fulong.dao.DeviceManageApproverDao;
import com.fulong.entity.DeviceManageApproverEntity;
import com.fulong.service.DeviceManageApproverService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fulong.common.utils.PageUtils;
import com.fulong.common.utils.Query;

import com.fulong.dao.DeviceManageApproverDao;
import com.fulong.entity.DeviceManageApproverEntity;
import com.fulong.service.DeviceManageApproverService;


@Service("deviceManageApproverService")
public class DeviceManageApproverServiceImpl extends ServiceImpl<DeviceManageApproverDao, DeviceManageApproverEntity> implements DeviceManageApproverService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<DeviceManageApproverEntity> page = this.page(
                new Query<DeviceManageApproverEntity>().getPage(params),
                new QueryWrapper<DeviceManageApproverEntity>()
        );

        return new PageUtils(page);
    }

}